Malloc causes segmentation fault when allocating a struct for a linked-list

visit shbcf.ru